# !/bin/sh
rm -f /tmp/stratovirt.socket

./target/release/stratovirt \
    -machine microvm \
    -kernel /root/iso/vmlinux.bin \
    -append "console=ttyS0 root=/dev/vda reboot=k panic=1" \
    -drive file=/home/rootfs.ext4,id=rootfs,readonly=off \
    -device virtio-blk-device,drive=rootfs,id=rootfs \
    -qmp unix:/tmp/stratovirt.socket,server,nowait \
    -serial stdio


